//
//  PictureAnimation.h
//  NetImager
//
//  Created by li hongliang on 10-9-10.
//  Copyright 2010 sweet-home. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>


@interface PictureAnimation : NSObject {

}

/*
 * Rotate the image by the imageOrientation.
 * if imageOrientation is -1, it will rotate the image by the UIImage.imageOrientation
 */
+ (UIImage *)scaleAndRotateImage:(UIImage *)image  orientation:(UIImageOrientation)imageOrientation;

/*
 * Rotate the image by the imageOrientation and scale it by the screen width and height
 * if imageOrientation is -1, it will rotate the image by the UIImage.imageOrientation
 */
+ (UIImage *)rotateImage:(UIImage *)image  orientation:(UIImageOrientation)imageOrientation;

@end
